home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.463 < prev    next >
Encoding:
Text File  |  1996-02-12  |  27.7 KB  |  774 lines

  1. Frequently Asked Questions (FAQS);faqs.463
  2.  
  3.  
  4.  
  5. ==> english/repeat.p <==
  6. What is a sentence containing the most repeated words, without:
  7.     using quotation marks,
  8.     using proper names,
  9.     using a language other than English,
  10.     anything else distasteful.
  11.  
  12. ==> english/repeat.s <==
  13. Five "had"s in a row:
  14.  
  15. The parents were unable to conceive, so they hired someone else to
  16. be a surrogate.
  17.  
  18. The parents had had a surrogate have their child.
  19.  
  20. The parents had had had their child.
  21.  
  22. The child had had no breakfast.
  23.  
  24. The child whose parents had had had had had no breakfast.
  25.  
  26. ==> english/repeated.words.p <==
  27. What is a sentence with the same word several times repeated?
  28.  
  29. ==> english/repeated.words.s <==
  30. It is true for all that, that that that that that that signifies, is not
  31. the one to which I refer.
  32.  
  33. Here are some steps to understanding the entire sentence:
  34.     That is not the one to which I refer.
  35.     That (that that that signifies) is not the one to which I refer.
  36.     That that that that that that signifies, is not the one to which I refer.
  37.  
  38. In Annamite:
  39.     Ba ba ba ba.
  40.     (Three ladies gave a box on the ear to the favorite of the Prince.)
  41.  
  42. ==> english/rhyme.p <==
  43. What English words are hard to rhyme?
  44.  
  45. "Rhyme is the identity in sound of an accented vowel in a word...and
  46. of all consonantal and vowel sounds following it; with a difference in
  47. the sound of the consonant immediately preceding the accented vowel."
  48. (From The Complete Rhyming Dictionary by Clement Wood).  Appropriately
  49. Wood says a couple of pages later, "If a poet commences, 'October is
  50. the wildest month' he has estopped himself from any rhyme; since
  51. "month" has no rhyme in English."
  52.  
  53. ==> english/rhyme.s <==
  54. NI3 = Merriam-Webster's Third New International Dictionary
  55. NI2 = Merriam-Webster's New International Dictionary, Second Edition
  56. RHD = Random House Unabridged Dictionary
  57. + means slang, foreign, obsolete, dialectical, etc.
  58.  
  59. Word        Rhyme                    Assonance
  60. ---------------    ---------------------------------------    --------------------
  61. aitch        brache (NI2+), taich (NI2+)        naish
  62. angry        unangry (NI2+)                aggry
  63. angst                            lanx
  64. beards        weirds
  65. breadth                            death
  66. bulb                            pulp
  67. carpet        charpit
  68. chimney        timne, polymny (NI2+)
  69. cusp        wusp (NI2)                bust
  70. depth                            stepped
  71. eighth                            faith
  72. else                            belts
  73. exit        direxit (RHD+)                sexist
  74. fiends        teinds, piends
  75. filched        hilched (NI3+), milched (NI2)        zilch
  76. filth        spilth, tilth
  77. fifth                            drift
  78. film        pilm (NI3+)                kiln
  79. fluxed        luxed (NI3+), muxed (NI3+)        ducked
  80. glimpsed                        rinsed
  81. gospel                            hostile
  82. gulf                            pulse
  83. jinxed        outminxed (?)                blinked
  84. leashed        niched, tweesht (NI2+)
  85. liquid                            wicked
  86. mollusk                            smallest
  87. mouthed        southed
  88. month                            grumph
  89. mulcts                            bulks
  90. mulched        gulched (NI3+)                bulged
  91. ninth                            pint
  92. oblige                            bides
  93. oomph        sumph (NI3+)
  94. orange        sporange
  95. pint        jint (NI2+)                bind
  96. poem        phloem, proem
  97. pregnant    regnant
  98. purple        curple (NI3+), hirple (NI3+)
  99. puss        schuss
  100. rhythm        smitham
  101. scalds        balds, caulds (NI3+), faulds (NI3+)
  102. scarce        clairce (NI2), hairse (NI2+)        cares
  103. sculpts                            gulps
  104. silver        chilver (NI3+)
  105. sixth                            kicks
  106. spirit        squiret (NI2+)
  107. tenth        nth                    bent
  108. tsetse        baronetcy, intermezzi, theetsee
  109. tuft        yuft
  110. twelfth                            health
  111. widow        kiddo
  112. width                            bridge
  113. window        indo, lindo
  114. wolf                            bulls
  115.  
  116. ==> english/self.ref.letters.p <==
  117. Construct a true sentence of the form: "This sentence contains _ a's, _ b's,
  118. _ c's, ...," where the numbers filling in the blanks are spelled out.
  119.  
  120. ==> english/self.ref.letters.s <==
  121. A little history of the problem, culled from the pages of _Metamagical
  122. Themas_, Hofstadter's collection of his _Scientific American_ columns.
  123. First mention of it is in the Jan. '82 column, a followup to one on self-
  124. referential sentences.  Lee Sallows opened the field with a sentence that
  125. began "Only the fool would take trouble to verify that his sentence was
  126. composed of ten a's ...." etc.
  127.  
  128. Then in the addendum to the Jan.'83 column on viral sentences, Hofstadter
  129. quotes Sallows describing his Pangram Machine, "a clock-driven cascade of
  130. sixteen Johnson-counters," to tackle the problem. An early success was:
  131.         "This pangram tallies five a's, one b, one c, two d's, twenty-
  132.         eight e's, eight f's, six g's, eight h's, thirteen i's, one j,
  133.         one k, three l's, two m's, eighteen n's, fifteen o's, two p's,
  134.         one q, seven r's, twenty-five s's, twenty-two t's, four u's, four
  135.         v's, nine w's, two x's, four y's, and one z."
  136.  
  137. Sallows wagered ten guilders that no-one could create a perfect self-
  138. documenting sentence beginning, "This computer-generated pangram contains
  139. ...." within ten years.
  140.  
  141. It was solved very quickly, after Sallows' challenge appeared in Dewdny's
  142. Oct. '84 SA column.  Larry Tesler solved it by a method Hofstadter calls
  143. "Robinsonizing," which involves starting with an arbitrary set of values
  144. for each letter, getting the true values when the sentence is made, and
  145. plugging the new values back in, making a feedback loop. Eventually, you
  146. can zero in on a set of values that work.  Tesler's sentence:
  147.         This computer-generated pangram contains six a's, one b, three
  148.         c's, three d's, thirty-seven e's, six f's, three g's, nine h's,
  149.         twelve i's, one j, one k, two l's, three m's, twenty-two n's,
  150.         thirteen o's, three p's, one q, fourteen r's, twenty-nine s's,
  151.         twenty-four t's, five u's, six v's, seven w's, four x's, five
  152.         y's, and one z.
  153.  
  154. The method of solution (called "Robinsonizing," after the logician Raphael
  155. Robinson) is as follows:
  156. 1)      Fix the count of a's.
  157. 2)      Fix the count of b's.
  158. 3)      Fix the count of c's.
  159. ...
  160. 26)   Fix the count of z's.
  161. Then, if the sentence is still wrong, go back to step 1.
  162.  
  163. Most attempts will fall into long loops (what Hofstadter calls attractive
  164. orbits), but with a good computer program, it's not too hard to find a
  165. Robinsonizing sequence that zeros in on a fixed set of values.
  166.  
  167. The February and May 1992 _Word Ways_ have articles on this subject,
  168. titled "In Quest of a Pangram, (Part 1)" by Lee Sallows.  It tells of his
  169. search for a self-referential pangram of the form, "This pangram
  170. contains _ a's, ..., and one z."  (He built special hardware to search
  171. for them.)  Two such pangrams given in the article are:
  172.  
  173.     This pangram lists four a's, one b, one c, two d's,
  174.     twenty-nine e's, eight f's, three g's, five h's, eleven i's,
  175.     one j, one k, three l's, two m's twenty-two n's, fifteen o's,
  176.     two p's, one q, seven r's, twenty-six s's, nineteen t's, four
  177.     u's, five v's, nine w's, two x's, four y's, and one z.
  178.  
  179.     This pangram contains four a's, one b, two c's, one d, thirty
  180.     e's, six f's, five g's, seven h's, eleven i's, one j, one k,
  181.     two l's, two m's eighteen n's, fifteen o's, two p's, one q,
  182.     five r's, twenty-seven s's, eighteen t's, two u's, seven v's,
  183.     eight w's, two x's, three y's, & one z.
  184.  
  185. It also contains one in Dutch by Rudy Kousbroek:
  186.  
  187.     Dit pangram bevat vijf a's, twee b's, twee c's, drie d's,
  188.     zesenveertig e's, vijf f's, vier g's, twee h's, vijftien i's,
  189.     vier j's, een k, twee l's, twee m's, zeventien n's, een o,
  190.     twee p's, een q, zeven r's, vierentwintig s's, zestien t's,
  191.     een u, elf v's, acht w's, een x, een y, and zes z's.
  192.  
  193. References:
  194. Dewdney, A.K. Scientific American, Oct. 1984, pp 18-22.
  195. Sallows, L.C.F. Abacus, Vol.2, No.3, Spring 1985, pp 22-40.
  196. Sallows, L.C.F. Word Ways, Feb. & May 1992
  197. Hofstadter, D. Scientific American, Jan. 1982, pp 12-17.
  198.  
  199. ==> english/self.ref.numbers.p <==
  200. What true sentence has the form: "There are _ 0's, _ 1's, _ 2's, ...,
  201. in this sentence"?
  202.  
  203. ==> english/self.ref.numbers.s <==
  204. There are 1 0's, 7 1's, 3 2's, 2 3's, 1 4's, 1 5's, 1 6's, 2 7's, 1 8's,
  205. and 1 9's in this sentence.
  206.  
  207. There are 1 0's, 11 1's, 2 2's, 1 3's, 1 4's, 1 5's, 1 6's, 1 7's, 1 8's
  208. and 1 9's in this sentence.
  209.  
  210. ==> english/self.ref.words.p <==
  211. What sentence describes its own word, syllable and letter count?
  212.  
  213. ==> english/self.ref.words.s <==
  214. This sentence contains ten words, eighteen syllables, and sixty-four letters.
  215.  
  216. ==> english/sentence.p <==
  217. Find a sentence with words beginning with the letters of the alphabet, in order.
  218.  
  219. ==> english/sentence.s <==
  220. After boxes containing dynamite exploded furiously
  221. generating hellish inferno jet killing laboring miners,
  222. novice operator, paralyzed, quickly refuses surgical treatment
  223. until veteran workers x-ray youth zealously.
  224.  
  225. A big cuddly dog emitted fierce growls happily ignoring joyful kids licking
  226. minute nuts on pretty queer rotten smelly toadstalls underneath vampires
  227. who x-rayed young zombies.
  228.  
  229. ==> english/snowball.p <==
  230. Construct the longest coherent sentence you can such that the nth
  231. word is n letters long.
  232.  
  233. ==> english/snowball.s <==
  234. I
  235. do
  236. not
  237. know
  238. where
  239. family
  240. doctors
  241. acquired
  242. illegibly
  243. perplexing
  244. handwriting;
  245. nevertheless,
  246. extraordinary
  247. pharmaceutical
  248. intellectuality,
  249. counterbalancing
  250. indecipherability,
  251. transcendentalizes
  252. intercommunications'
  253. incomprehensibleness.
  254.  
  255. ==> english/spoonerisms.p <==
  256. List some exceptional spoonerisms.
  257.  
  258. ==> english/spoonerisms.s <==
  259. Original by Spooner himself:
  260.  
  261. I am afraid you have tasted the whole worm, and must
  262. therefore take the next town drain.
  263.  
  264. Some years ago in the Parliament, a certain member known for his quick and
  265. rapier wit, cut across a certain other member who was trying to make some
  266. bad joke.  He called him a "Shining Wit" then apologized for making a
  267. Spoonerism.
  268.  
  269. Another famous broadcast fluff was on the Canadian Broadcasting
  270. Corporation, which an announcer identified as the "Canadian
  271. Broadcorping Castration."
  272.  
  273. Oh yes, another radio announcer one that has sort of crept into
  274. common English usage is "one swell foop".
  275.  
  276. A friend of mine had just eaten dinner in the school
  277. cafeteria, and he didn't look very happy. Another of
  278. my friends said, "John, what's wrong?" Knowing exactly
  279. what he was saying, he said, "It's the bound grief I
  280. had for dinner!"
  281.  
  282. A radio announcer, talking about a royal visit (or some such) said the
  283. visitor would be greeted with a "twenty one sun galoot".
  284.  
  285. There are several fractured fables based on spoonerisms, such as:
  286.  
  287. A king on a desert island was so beloved by his people, they decided to
  288. give him a very special gift for the anniversary of his coronation.  So
  289. after much thought, they decided to make him a throne out of seashells,
  290. which were plentiful on the island.  And when it was finished, they
  291. presented it to the king, who loved it.  But he soon discovered it was
  292. very uncomfortable to sit on.  So he told his subjects it was too
  293. special to use everyday (so as not to hurt their feelings) and put it in
  294. the attic of his palace (which was, of course, a hut like all the other
  295. dwellings on the island), planning to use it just for special occasions.
  296. But that night, it fell through the ceiling of his bedroom and landed
  297. on top of him, killing him instantly.  And the moral of the story is:
  298. Those who live in grass houses shouldn't stow thrones!
  299.  
  300. ==> english/states.p <==
  301. What long words have all bigrams either a postal state code or its reverse?
  302.  
  303. ==> english/states.s <==
  304. 10 paramarine
  305. 10 indentment
  306. 10 cacocnemia
  307. 9 amendment
  308. 9 paramimia
  309. 9 paramenia
  310. 9 paralinin
  311. 9 paralalia
  312. 9 palilalia
  313. 9 palapalai
  314. 8 scalawag
  315. 8 memorial
  316.  
  317. Disallowing reversals of state codes the longest common ones are:
  318.  
  319. 8 malarial
  320. 7 malaria
  321. 6 scalar
  322. 6 marine
  323. 5 flaky
  324.  
  325. Terry Donahue
  326.  
  327. ==> english/telegrams.p <==
  328. Since telegrams cost by the word, phonetically similar messages can be cheaper.
  329. See if you can decipher these extreme cases:
  330.  
  331. UTICA CHANSON MIGRATE INVENTION ANNUAL KNOBBY SORRY IN FACTUAL BEEN CLOVER.
  332.  
  333. WEED LICHEN ICE CHEST FOREARM OTHER DISGUISE DELIMIT.
  334.  
  335. CANCEL MYOCARDIA ITS INFORMAL FUNCTION.
  336.  
  337. YEARN AFFIX, LOST UKASE, UGANDA JAIL, CONSERVE TENURES YACHT APPEAL.
  338.  
  339. EYELET SHEILA INDIA HOUSE SHEILAS TURKEY.
  340.  
  341. BOB STILT SEA, CANTANKEROUS BOAT, HUMUS GOAD IMMORTAL DECOS GUARD.
  342.  
  343. MARY SINBAD SHEER TOURNEY AUGUSTA WIND NOCTURNE TOOTHBRUSH.
  344.  
  345. WHINE YOSEMITE NAMES SOY CAN PHILATELIST.
  346.  
  347. ALBEIT DETRACT UNIVERSE EDIFY MUSTAFA TICKET TICKET IN.
  348.  
  349. ==> english/telegrams.s <==
  350. These are from an old "Games" magazine:
  351.  
  352. UTICA CHANSON MIGRATE INVENTION ANNUAL KNOBBY SORRY IN FACTUAL BEEN CLOVER.
  353.     You take a chance on my great invention and you'll not be sorry.
  354.      In fact, you'll be in clover.
  355.  
  356. WEED LICHEN ICE CHEST FOREARM OTHER DISGUISE DELIMIT.
  357.     We'd like a nice chest for our mother; the sky's the limit.
  358.  
  359. CANCEL MYOCARDIA ITS INFORMAL FUNCTION.
  360.     Can't sell my ol' car dear; it's in for malfunction.
  361.  
  362. YEARN AFFIX, LOST UKASE, UGANDA JAIL, CONSERVE TENURES YACHT APPEAL.
  363.     You're in a  fix. Lost your case. You goin' to jail.
  364.     Can serve ten years. You ought to appeal.
  365.  
  366. EYELET SHEILA INDIA HOUSE SHEILAS TURKEY.
  367.     I let Sheila in their house; she lost her key.
  368.  
  369. BOB STILT SEA, CANTANKEROUS BOAT, HUMUS GOAD IMMORTAL DECOS GUARD.
  370.     Bob's still at sea; can't anchor his boat. You must go to him
  371.     or tell the coast guard.
  372.  
  373. MARY SINBAD SHEER TOURNEY AUGUSTA WIND NOCTURNE TOOTHBRUSH.
  374.     Mary's in bed; she hurt her knee.  A gust of wind
  375.     knocked her into the brush.
  376.  
  377. WHINE YOSEMITE NAMES SOY CAN PHILATELIST.
  378.     Why don't you (why'n'ya) send me the names, so I can
  379.     fill out a list.
  380.  
  381. ALBEIT DETRACT UNIVERSE EDIFY MUSTAFA TICKET TICKET IN.
  382.     I'll be at the track and I have a receipt if I must have a ticket to
  383.      get in.
  384.  
  385. ==> english/trivial.p <==
  386. Consider the free non-abelian group on the twenty-six letters of the
  387. alphabet with all relations of the form <word1> = <word2>, where <word1>
  388. and <word2> are homophones (i.e. they sound alike but are spelled
  389. differently).  Show that every letter is trivial.
  390.  
  391. For example, be = bee, so e is trivial.
  392.  
  393. ==> english/trivial.s <==
  394. be = bee ==> e is trivial;
  395. ail = ale ==> i is trivial;
  396. week = weak ==> a is trivial;
  397. lie = lye ==> y is trivial;
  398. to = too ==> o is trivial;
  399. two = to ==> w is trivial;
  400. hour = our ==> h is trivial;
  401. faggot = fagot ==> g is trivial;
  402. bowl = boll ==> l is trivial;
  403. gell = jel ==> j is trivial;
  404. you = ewe ==> u is trivial;
  405. damn = dam ==> n is trivial;
  406. limb = limn ==> b is trivial;
  407. bass = base ==> s is trivial;
  408. cede = seed ==> c is trivial;
  409. knead = need ==> k is trivial;
  410. add = ad ==> d is trivial;
  411. awful = offal ==> f is trivial;
  412. gram = gramme ==> m is trivial;
  413. grip = grippe ==> p is trivial;
  414. cue = queue ==> q is trivial;
  415. carrel = carol ==> r is trivial;
  416. butt = but ==> t is trivial;
  417. lox = locks ==> x is trivial;
  418. tsar = czar ==> z is trivial;
  419. vlei = flay ==> v is trivial.
  420.  
  421. For a related problem, see _The Jimmy's Book_ (_The American Mathematical
  422. Monthly_, Vol. 93, Num. 8 (Oct. 1986), p.  637):
  423.  
  424. Consider the free group on twenty-six letters A, ..., Z.  Mod out by
  425. the relation that defines two words to be equivalent if (a) one is a
  426. permutation of the other and (b) each appears as a legitimate English
  427. word in the dictionary.  Identify the center of this group.
  428.  
  429.     -- clong@remus.rutgers.edu (Chris Long)
  430.  
  431. ==> english/weird.p <==
  432. Make a sentence containing only words that violate the "i before e" rule.
  433.  
  434. ==> english/weird.s <==
  435. From the May, 1990 _Word Ways_:
  436.  
  437. That is IE - Or, Is That EI?
  438.  
  439. by Paul Leopold
  440. Stockholm, Sweden
  441.  
  442.     "Seeing wherein neither weirdly-veiled sovereign deigned
  443.     agreeing, their feisty heirs, leisurely eyeing eight heinous
  444.     deity-freightened reindeer sleighs, counterfeited spontaneity,
  445.     freeing rein (reveille, neighing!); forfeited obeisance,
  446.     fleeing neighborhood.  Kaleidoscopically-veined foreign
  447.     heights being seized, either reigned, sleight surfeited,
  448.     therein; reinvented skein-dyeing; reiteratedly inveighed,
  449.     feigning weighty seismological reinforcement."
  450.  
  451. The above passage appears in a book on the ecological conservation
  452. measures of the enlightened plutocracies of antiquity, Ancient
  453. Financier Aristocracies' Conscientious Scientific Species Policies,
  454. by Creighton Leigh Peirce and Keith Leiceister Reid. . . .
  455.  
  456. Any beings decreeing such ogreish, albeit nonpareil,
  457. homogeneity must be nucleic protein-deficient from sauteing
  458. pharmacopoeial caffeine and codeine!
  459.  
  460. From an 'fgrep cie /usr/dict/words', with similiar words removed.
  461. ancient coefficient concierge conscience conscientious deficient efficient
  462. financier glacier hacienda Muncie omniscient proficient science
  463. Societe(?) society species sufficient
  464.  
  465. A search through Webster's on-line dictionary produced the following exceptions:
  466.  
  467. Word: *cie*
  468. Possible matches are:
  469.   1. -facient               2. abortifacient          3. ancien regime
  470.   4. ancient                5. ancientry              6. boccie
  471.   7. cenospecies            8. christian science      9. coefficient
  472.  10. concierge             11. conscience            12. conscience money
  473.  13. conscientious         14. conscientious objector15. deficiency
  474.  16. deficiency disease    17. deficient             18. domestic science
  475.  19. earth science         20. ecospecies            21. efficiency
  476.  22. efficiency engineer   23. efficient             24. facies
  477.  25. fancier               26. financier             27. genospecies
  478.  28. geoscience            29. glacier               30. glacier theory
  479.  31. habeas corpus ad subjiciendum32. hacienda       33. inconscient
  480.  34. inefficiency          35. inefficient           36. insufficience
  481.  37. insufficiency         38. insufficient          39. international scientific vocabulary
  482.  40. library science       41. liquefacient          42. mental deficiency
  483.  43. mutafacient           44. natural science       45. nescience
  484.  46. omniscience           47. omniscient            48. physical science
  485.  49. political science     50. precieux              51. prescience
  486.  52. prescientific         53. prima facie           54. proficiency
  487.  55. proficient            56. pseudoscience         57. rubefacient
  488.  58. science               59. science fiction       60. scient
  489.  61. sciential             62. scientific            63. scientific method
  490.  64. scientism             65. scientist             66. scientistic
  491.  67. secret society        68. self-sufficiency      69. self-sufficient
  492.  70. social science        71. social scientist      72. societal
  493.  73. society               74. society verse         75. somnifacient
  494.  76. specie                77. species               78. stupefacient
  495.  79. sub specie aeternitatis80. subspecies            81. sufficiency
  496.  82. sufficient            83. sufficient condition  84. superficies
  497.  85. type species          86. unscientific          87. valenciennes
  498.  88. vers de societe
  499.  
  500. ==> english/word.boundaries.p <==
  501. List some sentences that can be radically altered by changing word boundaries
  502. and punctuation.
  503.  
  504. ==> english/word.boundaries.s <==
  505. Issues topping our mail: manslaughter.
  506. Is Sue stopping our mailman's laughter?
  507.  
  508. The real ways I saw it.
  509. There always is a wit.
  510.  
  511. You read evil tomes, Tim, at Ed's issue.
  512. "You're a devil, Tom!" estimated sis Sue.
  513.  
  514. ==> english/word.torture.p <==
  515. What is the longest word all of whose contiguous subsequences are words?
  516.  
  517. ==> english/word.torture.s <==
  518. This problem was discussed in _Word Ways_ in 1974-5.  In August 1974,
  519. Ralph Beaman, in an article titled "Word Torture", offered the word
  520. SHADES, from which one obtains HADES, SHADE; ADES, HADE, SHAD; DES, ADE,
  521. HAD, SHA; ES, DE, AD, HA, SH; S, E, D, A, H.  All of these are words
  522. given in Webster's Third.
  523.  
  524. Since that time, a serious search has been launched for a seven-letter
  525. word.  The near misses so far are:
  526. Date    Person           Word     Missing
  527. Aug 74  Ralph Beaman     GAMINES  INES, GAMI, NES, INE
  528. Nov 74  Dmitri Borgmann  ABASHED  INE, NES, ABASHE, BASHE, ASHE (all in OED)
  529. May 75  David Robinson   GUNITES  GU, GUNIT (using Webster's Second)
  530. May 75  David Robinson   ETAMINE  ETAMI, TAMI (using Webster's Second)
  531. May 75  Ralph Beaman     MORALES  RAL (using Webster's Second)
  532. Aug 75  Tom Pulliam      SHEAVES  EAV (using Webster's Second)
  533.  
  534. Webster's Second has been used for most of the attempts since it
  535. contains so many more words than Webster's Third.  The seven-letter
  536. plateau remains to be achieved.
  537.  
  538. ==> games/chess/knight.control.p <==
  539. How many knights does it take to attack or control the board?
  540.  
  541. ==> games/chess/knight.control.s <==
  542. Fourteen knights are required to attack every square:
  543.  
  544.     1   2   3   4   5   6   7   8
  545.    ___ ___ ___ ___ ___ ___ ___ ___
  546. h |   |   |   |   |   |   |   |   |
  547.    --- --- --- --- --- --- --- ---
  548. g |   |   | N | N | N | N |   |   |
  549.    --- --- --- --- --- --- --- ---
  550. f |   |   |   |   |   |   |   |   |
  551.    --- --- --- --- --- --- --- ---
  552. e |   | N | N |   |   | N | N |   |
  553.    --- --- --- --- --- --- --- ---
  554. d |   |   |   |   |   |   |   |   |
  555.    --- --- --- --- --- --- --- ---
  556. c |   | N | N | N | N | N | N |   |
  557.    --- --- --- --- --- --- --- ---
  558. b |   |   |   |   |   |   |   |   |
  559.    --- --- --- --- --- --- --- ---
  560. a |   |   |   |   |   |   |   |   |
  561.    --- --- --- --- --- --- --- ---
  562.  
  563. Three knights are needed to attack h1, g2, and a8; two more for b1, a2,
  564. and b3, and another two for h7, g8, and f7.
  565.  
  566. The only alternative pattern is:
  567.  
  568.     1   2   3   4   5   6   7   8
  569.    ___ ___ ___ ___ ___ ___ ___ ___
  570. h |   |   |   |   |   |   |   |   |
  571.    --- --- --- --- --- --- --- ---
  572. g |   |   | N |   |   | N |   |   |
  573.    --- --- --- --- --- --- --- ---
  574. f |   |   | N | N | N | N |   |   |
  575.    --- --- --- --- --- --- --- ---
  576. e |   |   |   |   |   |   |   |   |
  577.    --- --- --- --- --- --- --- ---
  578. d |   |   | N | N | N | N |   |   |
  579.    --- --- --- --- --- --- --- ---
  580. c |   | N | N |   |   | N | N |   |
  581.    --- --- --- --- --- --- --- ---
  582. b |   |   |   |   |   |   |   |   |
  583.    --- --- --- --- --- --- --- ---
  584. a |   |   |   |   |   |   |   |   |
  585.    --- --- --- --- --- --- --- ---
  586.  
  587. Twelve knights are needed to control (attack or occupy) the board:
  588.  
  589.     1   2   3   4   5   6   7   8
  590.    ___ ___ ___ ___ ___ ___ ___ ___
  591. a |   |   |   |   |   |   |   |   |
  592.    --- --- --- --- --- --- --- ---
  593. b |   |   | N |   |   |   |   |   |
  594.    --- --- --- --- --- --- --- ---
  595. c |   |   | N | N |   | N | N |   |
  596.    --- --- --- --- --- --- --- ---
  597. d |   |   |   |   |   | N |   |   |
  598.    --- --- --- --- --- --- --- ---
  599. e |   |   | N |   |   |   |   |   |
  600.    --- --- --- --- --- --- --- ---
  601. f |   | N | N |   | N | N |   |   |
  602.    --- --- --- --- --- --- --- ---
  603. g |   |   |   |   |   | N |   |   |
  604.    --- --- --- --- --- --- --- ---
  605. h |   |   |   |   |   |   |   |   |
  606.    --- --- --- --- --- --- --- ---
  607.  
  608. Each knight can control at most one of the twelve squares a1, b1, b2,
  609. h1, g1, g2, a8, b8, b7, h8, g8, g7.  This position is unique up to
  610. reflection.
  611.  
  612. References
  613.     Martin Gardner, _Mathematical Magic Show_.
  614.  
  615. ==> games/chess/mutual.check.p <==
  616. What position is a stalemate for both sides and is reachable in a legal game
  617. (including the requirement to prevent check)?
  618.  
  619. ==> games/chess/mutual.check.s <==
  620. Put the following configuration in one corner:
  621.  
  622. |
  623. |  x
  624. |  P   x
  625. |B P   P
  626. |K R B
  627. +---------
  628.  
  629. ("x" is a Black pawn), and the same with colors reversed in the h8
  630. corner.
  631.  
  632. --Noam D. Elkies (elkies@zariski.harvard.edu)
  633.   Dept. of Mathematics, Harvard University
  634.  
  635. ==> games/chess/mutual.stalemate.p <==
  636. What's the minimal number of pieces in a legal mutual stalemate?
  637.  
  638. ==> games/chess/mutual.stalemate.s <==
  639. 6.
  640.  
  641. W Kh8 e6 f7 h7  B Kf8 e7
  642. W Kb1  B Ka3 b2 b3 b4 a4
  643. W Kf1  B Kh1 Bg1 f2 f3 h2
  644.  
  645. ==> games/chess/queens.p <==
  646. How many ways can eight queens be placed so that they control the board?
  647.  
  648. ==> games/chess/queens.s <==
  649. 92.  The following program uses a backtracking algorithm to count positions:
  650.  
  651. #include <stdio.h>
  652.  
  653. static int count = 0;
  654.  
  655. void try(int row, int left, int right) {
  656.    int poss, place;
  657.    if (row == 0xFF) ++count;
  658.    else {
  659.       poss = ~(row|left|right) & 0xFF;
  660.       while (poss != 0) {
  661.          place = poss & -poss;
  662.          try(row|place, (left|place)<<1, (right|place)>>1);
  663.          poss &= ~place;
  664.          }
  665.       }
  666.    }
  667.  
  668. void main() {
  669.    try(0,0,0);
  670.    printf("There are %d solutions.\n", count);
  671.    }
  672. --
  673. Tony Lezard IS tony@mantis.co.uk OR tony%mantis.co.uk@uknet.ac.uk
  674. OR EVEN arl10@phx.cam.ac.uk if all else fails.
  675.  
  676. ==> games/chess/size.of.game.tree.p <==
  677. How many different positions are there in the game tree of chess?
  678.  
  679. ==> games/chess/size.of.game.tree.s <==
  680. Consider the following assignment of bit strings to square states:
  681.  
  682.     Square State        Bit String
  683.     ------ -----        --- ------
  684.  
  685.     Empty            0
  686.     White Pawn        100
  687.     Black Pawn        101
  688.     White Rook        11111
  689.     Black Rook        11110
  690.     White Knight        11101
  691.     Black Knight        11100
  692.     White Bishop        11011
  693.     Black Bishop        11010
  694.     White Queen        110011
  695.     Black Queen        110010
  696.     White King        110001
  697.     Black King        110000
  698.  
  699. Record a position by listing the bit string for each of the 64 squares.
  700. For a position with all the pieces still on the board, this will take
  701. 164 bits.  As pieces are captured, the number of bits needed goes down.
  702. As pawns promote, the number of bits go up.  For positions where a King
  703. and Rook are in position to castle if castling is legal, we will need
  704. a bit to indicate if in fact castling is legal.  Same for positions
  705. where an en-passant capture may be possible.  I'm going to ignore these
  706. on the grounds that a more clever encoding of a position than the one
  707. that I am proposing could probably save as many bits as I need for these
  708. considerations, and thus conjecture that 164 bits is enough to encode a
  709. chess position.
  710.  
  711. This gives an upper bound of 2^164 positions, or 2.3x10^49 positions.
  712.  
  713. Jurg Nievergelt, of ETH Zurich, quoted the number 2^70 (or about 10^21) in
  714. e-mail, and referred to his paper "Information content of chess positions",
  715. ACM SIGART Newsletter 62, 13-14, April 1977, to be reprinted in "Machine
  716. Intelligence" (ed Michie), to appear 1990.
  717.  
  718. Note that this latest estimate, 10^21, is not too intractable:
  719. 10^7 computers running at 10^7 positions per second could scan those
  720. in 10^7 seconds, which is less than 6 months.
  721.  
  722. In fact, suppose there is a winning strategy in chess for white.  Suppose
  723. further that the strategy starts from a strong book opening, proceeds through
  724. middle game with only moves that DT would pick using the singular
  725. extension technique, and finally ends in an endgame that DT can analyze
  726. completely.  The book opening might take you ten moves into the game and
  727. DT has demonstarted its ability to analyze mates-in-20, so how many nodes
  728. would DT really have to visit?  I suggest that by using external storage
  729. such a optical WORM memory, you could easily build up a transposition
  730. table for such a midgame.  If DT did not find a mate, you could progressively
  731. expand the width of the search window and add to the table until it did.
  732. Of course there would be no guarantee of success, but the table built
  733. would be useful regardless.  Also, you could change the book opening and
  734. add to the table.  This project could continue indefinitely until finally
  735. it must solve the game (possibly using denser and denser storage media as
  736. technology advances).
  737.  
  738. What do you think?
  739.  
  740. -------
  741.  
  742. I think you are a little bit too optimistic about the feasibility.  Solving
  743. mate-in-19 when the moves are forcing is one thing, but solving mate-in-19
  744. when the moves are not forcing is another.  Of course, human beings are no
  745. better at the latter task.  But to solve the game in the way you described
  746. would seem to require the ability to handle the latter task.  Anyway, we
  747. cannot really think about doing the sort of thing you described; DT is just a
  748. poor man's chess machine project (relatively speaking).
  749.                         --Hsu
  750.  
  751. i dont think that you understand the numbers involved.
  752. the size of the tree is still VERY large compared to all
  753. the advances that you cite. (speed of DT, size of worms,
  754. endgame projects, etc) even starting a project will probably
  755. be a waste of time since the next advance will overtake it
  756. rather than augment it. (if you start on a journey to the
  757. stars today, you will be met there by humans)
  758. ken
  759.  
  760. ==> games/cigarettes.p <==
  761. The game of cigarettes is played as follows:
  762. Two players take turns placing a cigarette on a circular table.  The cigarettes
  763. can be placed upright (on end) or lying flat, but not so that it touches any
  764. other cigarette on the table.  This continues until one person looses by not
  765. having a valid position on the table to place a cigarette.
  766.  
  767. Is there a way for either of the players to guarantee a win?
  768.  
  769. ==> games/cigarettes.s <==
  770. The first person wins by placing a cigarette at the center of the table,
  771. and then placing each of his cigarettes in a position symmetric (with
  772. respect to the center) to the place the second player just moved.  If the
  773. second player could move, then symmetrically, so can the first player.
  774.